package com.aaa.emp;

import com.aaa.emp.config.MyRibbonConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @author ：杨
 * @date ：Created in 2020/7/22 14:42
 * @description：
 * @modified By：
 * @version:
 */
@SpringBootApplication
@EnableEurekaServer
@MapperScan("com.aaa.emp.dao")
@RibbonClient(value = "empServer",configuration = MyRibbonConfiguration.class)
public class EmpServerApp {
    public static void main(String[] args) {
        SpringApplication.run(EmpServerApp.class,args);
    }
}
